using SqlSugar;
using System.Collections.Generic;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 商品价格
    /// </summary>
    public class dt_article_goods
    {
        /// <summary>
        /// 商品价格
        /// </summary>
        public dt_article_goods()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 频道ID
        /// </summary>
        public System.Int32? channel_id { get; set; }

        /// <summary>
        /// 文章ID
        /// </summary>
        public System.Int32? article_id { get; set; }

        /// <summary>
        /// 货号
        /// </summary>
        public System.String goods_no { get; set; }

        /// <summary>
        /// 规格ID以逗号分隔开
        /// </summary>
        public System.String spec_ids { get; set; }

        /// <summary>
        /// 规格描述
        /// </summary>
        public System.String spec_text { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public System.Int32? stock_quantity { get; set; }

        /// <summary>
        /// 市场价格
        /// </summary>
        public System.Decimal? market_price { get; set; }

        /// <summary>
        /// 销售价格
        /// </summary>
        public System.Decimal? sell_price { get; set; }

        [SugarColumn(IsIgnore = true)]
        public List<Entitys.dt_user_group_price> group_prices { get; set; }
    }
}